-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install: Make stateroot configurable #622
Conversation
For tests, try adding a new case to bootc/tests-integration/src/install.rs Line 68 in b5f47ff
|
8e9e129
to
c093213
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sane to me, could just use a test in tests-integration/src/install.rs
or so.
Coming back to this, is this still the right place? Or should it be part of the e2e tmt stuff? |
89cf7ff
to
3b92943
Compare
4bdd3c7
to
6edca4e
Compare
6edca4e
to
f0ab159
Compare
the e2e-tmt flow is generally oriented around bootc as a client flow, which is currently pretty distinct from the install path. I think it's still the right place to test install code in that file. |
f0ab159
to
ceae92b
Compare
This commit makes it so that the `bootc install` stateroot will be configurable (it defaults to `default`). For now this is a hidden CLI option until we decide whether we want to commit to this API. In the future we also want to make the stateroot of `bootc switch` be configurable (containers#617) so that users can install an image to a new stateroot while they already have an existing stateroot Also removed the constant `STATEROOT_DEFAULT`, we're now simply taking it from the `ostree_ext` crate Signed-off-by: Omer Tuchfeld <[email protected]>
ceae92b
to
d17e471
Compare
…1.0.197 build(deps): bump serde from 1.0.196 to 1.0.197
container: Drop async_compression + support zstd:chunked
This commit makes it so that the
bootc install
stateroot will be configurable (it defaults todefault
). For now this is a hidden CLI option until we decide whether we want to commit to this API.In the future we also want to make the stateroot of
bootc switch
be configurable (#617) so that users can install an image to a new stateroot while they already have an existing staterootAlso removed the constant
STATEROOT_DEFAULT
, we're now simply taking it from theostree_ext
crate